﻿using DevExpress.XtraBars;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using 广州爱特安为科技.UC.圣同润.客服.售后;

namespace 广州爱特安为科技.UC.圣同润.客服
{
    public partial class FluentDesignForm客服 : DevExpress.XtraBars.FluentDesignSystem.FluentDesignForm
    {
        public FluentDesignForm客服()
        {
            InitializeComponent();
        }

        private void accordionControlElement订单总览_Click(object sender, EventArgs e)
        {
            this.initPanel(new Form订单总览());
        }

        private void initPanel(Form frm)
        {
            this.fluentDesignFormContainer1.Controls.Clear();
            //指示窗体显示是否为顶级窗口
            frm.TopLevel = false;
            this.fluentDesignFormContainer1.Controls.Add(frm);
            frm.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            frm.Dock = System.Windows.Forms.DockStyle.Fill;
            frm.Show();
        }

        private void accordionControlElement3_Click(object sender, EventArgs e)
        {
            this.initPanel(new Form未发货订单());
        }

        private void accordionControlElement5_Click(object sender, EventArgs e)
        {
            this.initPanel(new Form发货数据导入());
        }

        private void accordionControlElement4_Click(object sender, EventArgs e)
        {
            this.initPanel(new Form历史订单());
        }

        private void accordionControlElement验证导出代发货数据地址_Click(object sender, EventArgs e)
        {
            this.initPanel(new Form导出未发货订单地址验证());
        }

        private void accordionControlElement验证导入发货单信息_Click(object sender, EventArgs e)
        {
            this.initPanel(new Form导入的发货单信息验证());
        }

        private void accordionControlElement物流数据总览_Click(object sender, EventArgs e)
        {
            this.initPanel(new Form物流信息());
        }

        private void accordionControlElement售后单数据_Click(object sender, EventArgs e)
        {
            this.initPanel(new Form售后单一览());
        }

        private void accordionControlElement售后二次审核数据_Click(object sender, EventArgs e)
        {
            this.initPanel(new Form售后二次审核一览());
        }

        private void accordionControlElement拆单备注导入_Click(object sender, EventArgs e)
        {
            this.initPanel(new Form拆单备注导入());
        }
    }
}
